<!DOCTYPE html>
<html>

<head>

    <head>
        <?php echo $this->Html->charset(); ?>
        <title>
            login
        </title>
        <?php
        echo $this->Html->meta('icon');

        echo $this->Html->css(array('bootstrap.min.css', 'font/css/font-awesome.css', 'sb-admin.css'));
        echo $this->Html->script(array('jquery-1.10.2.js', 'bootstrap.min.js', 'plugins/metisMenu/jquery.metisMenu.js', 'sb-admin.js'));
        echo $this->fetch('meta');
        echo $this->fetch('css');
        echo $this->fetch('script');
        ?>
    </head>

</head>

<body>

    <div class="container">
        <div class="row">
            
            <div class="col-md-4 col-md-offset-4">
                <?php echo $this->Session->flash(); ?>
                <div class="login-panel panel panel-default">
                    <div class="panel-heading">
                        <h3 class="panel-title">Please Sign In</h3>
                    </div>
                    <div class="panel-body">
                        <?php echo $this->Form->create('Admin',array('method' => 'post'))?>
                            <fieldset>
                                <div class="form-group">
                                    <?php echo $this->Form->input('Admin.username',array('class' => 'form-control','placeholder' => 'Username','div' => false,'label' => false))?>
                                </div>
                                <div class="form-group">
                                    <?php echo $this->Form->input('Admin.password',array('class' => 'form-control','placeholder' => 'Password','div' => false,'label' => false))?>
                                </div>
                                
                                <!-- Change this to a button or input when using this as a form -->
                                <input type="submit" class="btn btn-lg btn-success btn-block" value="<?php echo __('Login')?>"/>
                                
                            </fieldset>
                        <?php echo $this->Form->end()?>
                    </div>
                </div>
            </div>
        </div>
    </div>

    

</body>

</html>
